import * as types from './types.js'

export default {
  /*更新用户登录状态*/
  [types.SET_USER_STATE](state, data) {
    state.isLogIn = data
  },
  /*获取用户信息*/
  [types.GET_USER_DATA](state, data) {
    state.userData = data
  }
}
